<?php
/**
 * RuiNuoCode低代码后台系统 - 团队十多年低代码经验汇集巨献!
 * =========================================================
 * Copy right 2019-2029 张家界瑞诺科技有限公司, 保留所有权利。
 * ----------------------------------------------
 * 官方网址: https://www.ruinuocrm.com
 * =========================================================
 */
namespace app\common\model;
use think\Model;
class AdminMenu extends Model
{
    protected $pk = 'id';
    protected $name = 'admin_menu';
    public function Setting($name = '')
    {
        $data = [
            'id' => $this->pk,
            'table' => $this->name,
        ];
        if ($name) {
            return $data[$name];
        }
        return $data;
    }
}